package com.learn.search.feign;

import com.learn.eduapi.entity.Course;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@FeignClient("edu-course-boot")
public interface CourseFeign {

    @GetMapping("/course/getAllCourse")
    List<Course> getAllCourse();

}
